package com.sakura.mall.member.memberCollectSubject.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.member.memberCollectSubject.domain.entity.MemberCollectSubjectEntity;
import com.sakura.mall.member.memberCollectSubject.domain.request.AddMemberCollectSubjectRequest;
import com.sakura.mall.member.memberCollectSubject.domain.request.UpdateMemberCollectSubjectRequest;
import com.sakura.mall.member.memberCollectSubject.domain.request.MemberCollectSubjectPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.member.memberCollectSubject.domain.vo.MemberCollectSubjectVo;

/**
 * 会员收藏的专题活动 service
 *
 * @author sakura
 */
public interface MemberCollectSubjectService extends IService<MemberCollectSubjectEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<MemberCollectSubjectVo> queryPage(MemberCollectSubjectPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddMemberCollectSubjectRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateMemberCollectSubjectRequest request);
}
